enum dtype_action_define {
	TYPE(ACTION_DEFINE)=0x4300,
};
enum subtype_action_define {
	SUBTYPE(ACTION_DEFINE,SERVER_CONNECT)=0x1,
	SUBTYPE(ACTION_DEFINE,HANDSHAKE)
};

enum action_handshake_type
{
	KEY_EXCHANGE=0x01,
	KEY_CERTIFY,
    PCR_QUOTE
};

typedef struct action_define_server_connect{
	char * user_name;
	char * proc_name;
	BYTE machine_uuid[32];
	BYTE nonce[32];
}__attribute__((packed)) RECORD(ACTION_DEFINE,SERVER_CONNECT);

typedef struct action_define_handshake{
	char * client;
    char * server;
	enum action_handshake_type handshake_type;
	int  step;
}__attribute__((packed)) RECORD(ACTION_DEFINE,HANDSHAKE);
